home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
system
/
cpcug.zip
/
FDATE.DOC
< prev
next >
Wrap
Text File
|
1987-04-20
|
2KB
|
43 lines
FDATE (File Date/Time Stamp)
Command
_____________________________________________________
Purpose: Allows setting the date and timestamps for
a disk file.
Format: FDATE <filename> <date> <time>
Remarks: <date> and <time> are optional and can
appear in any order.
Date can be mm/dd/yy or mm-dd-yy.
Time is hh:mm:ss.
If either the date or time or both are
specified, the respective date and time
information in the directory entry for the
file is set appropriately. If only one is
specified, the other is left with its
original value. If neither the date nor time
is specified on the command line, then the
file's date and time stamps are set from the
current date and time in the DOS clock.
The filename can include normal DOS 2.0 drive
and path specifications.
Notes:
1. Although most cases of illegal date and
time formats will be detected, it was not
deemed worth the effort or memory to try
and detect all possible patholotical
cases, so trying to fool it will not lead
to happy directory entries.
2. The time recorded by DOS in the directory
entry is kept in two second intervals, so
the second specified is truncated to an
even value.